LogKeepDays Directive


Purpose

The LogKeepDays directive controls the number of days' transfer and error logs that are kept by the automatic cycling system.


Syntax

LogKeepDays ndays

ndays is the number of days' transfer and error log files to keep. If ndays is set to 0, automatic cycling and purging is disabled and the logs accumulate indefinitely (across server restarts).


Default

If you do not specify LogKeepDays, httpd assumes:

LogKeepDays 7


Examples

LogKeepDays 30

The error and transfer logs from the last 30 days are kept, anything older is automatically purged.

LogKeepDays 0

Automatic cycling and purging is disabled. Transfer and error logs accumulate indefinitely.


Return to Server Configuration File Overview

Robert B. Denny <rdenny@netcom.com>